kconfig: fix savedefconfig to output empty defconfig
authorMasahiro Yamada <[email protected]>
Wed, 3 Sep 2014 20:41:31 +0000 (05:41 +0900)
committerTom Rini <[email protected]>
Tue, 16 Sep 2014 16:23:58 +0000 (12:23 -0400)
Commit 3ff291f371fa9858426774f3732924bacb61ed1c
(kconfig: convert Kconfig helper script into a shell script)
introduced a minor regression.

make alldefconfig; make savedefconfig
should create an empty 'defconfig'.

Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Simon Glass <[email protected]>
scripts/multiconfig.sh

index 4190798a9762effc774cb7195de6eebc9bd1a274..785f5639a6961619b9005155d70a766caf5749a1 100644 (file)
@@ -217,6 +217,7 @@ do_savedefconfig () {
        done
 
        rm -f defconfig
+       touch defconfig
        for line in $output_lines
        do
                echo $line >> defconfig